From 68344807279eab5eb1405583ccb3dbcf5974d542 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Fri, 20 Feb 2009 09:00:20 +0100 Subject: [PATCH] Tell debhelper to ignore ocaml-native-compilers on byte-only architectures --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index 0bbd8a93..1c131b2e 100755 --- a/debian/rules +++ b/debian/rules @@ -27,6 +27,11 @@ SRCTARBALL = $(PACKAGE)-source-$(OCAML_ABI).tar.bz2 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export DH_OPTIONS +ifeq ($(OCAML_OPT_ARCH),) + DH_OPTIONS += -Nocaml-native-compilers +endif + # This has to be exported to make gen_modules work export OCAML_OPT_ARCH export OCAML_STDLIB_DIR -- 2.30.2